﻿using System.Linq;

namespace KamRemakeRemake.GameObjects.MapObjects {
    public enum TileType {
        Grass = 1,
        Sand = 2,
        Ice = 3,
        BlueShit = 4,
        Bridge = 5,

        GoldEmpty = 10,
        IronEmpty = 11,
        CoalEmpty = 12,
        Water = 13,

        Gold = 101,
        Iron = 102,
        Coal = 104,

        Stone = 200
    }

    public static class TileTypeExtension {
        public static bool IsContainedIn(this TileType status, params TileType[] group) {
            return group.Contains(status);
        }
    }
}
